/*
 * @(#)MaintDmsRelationalWordForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.dms.web;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

/**
  <p>Class Name: MaintDmsRelationalWordForm.java         </p>

  <p>Description:This class is the for web form purpose.</p>

  @author          Weison Liang
  @company         DCIVision Limited
  @creation date   03/09/2004
  @version         $Revision: 1.4 $
*/

public class MaintDmsSearchRelationalWordForm extends ListDmsDocumentForm {

  public static final String REVISION = "$Revision: 1.4 $";

  private String word = null;
  private String parentID = null;
  private String ID =null;
  private String type = null;
  private String curFunctionCode = null;
  private String formName;
  private String hiddenFieldName;
  private String displayFieldName;
  public MaintDmsSearchRelationalWordForm(){
    super(); 
    this.setSortAttribute("Word");
    this.setSortOrder("ASC");
  }
  public String getID() { 
    return(this.ID);
  }
  public void setID(String ID) { 
    this.ID = ID;
  }
  public String getWord() { 
    return(this.word);
  }

  public void setWord(String word) { 
    this.word = word;
  }

  public String getParentID() { 
    return(this.parentID);
  }

  public void setParentID(String parentID) { 
    this.parentID = parentID;
  }

  public String getType() { 
    return(this.type);
  }

  public void setType(String type) { 
    this.type = type;
  }
  public void setCurFunctionCode(String curFunctionCode) {
    this.curFunctionCode = curFunctionCode;
}

  public String getCurFunctionCode() {
    return curFunctionCode;
  }
  public String getFormName() {
    return (this.formName);
  }
  public void setFormName(String formName) {
    this.formName = formName;
  }
  public String getHiddenFieldName() {
    return (this.hiddenFieldName);
  }
  public void setHiddenFieldName(String hiddenFieldName) {
    this.hiddenFieldName = hiddenFieldName;
  }
  
  public String getDisplayFieldName() {
    return (this.displayFieldName);
  }
  
  public void setDisplayFieldName(String displayFieldName) {
    this.displayFieldName = displayFieldName;
  }

  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
    return super.validate(mapping,request );
  }
}
  